package com.yin.webmvc;

import lombok.Data;

import java.lang.reflect.Method;
import java.util.regex.Pattern;

@Data
public class HandlerMapping {

    private Object controller;
    private Method method;
    private Pattern url;

    public HandlerMapping(Pattern url, Object controller, Method method){
        this.url = url;
        this.controller = controller;
        this.method = method;
    }
}
